﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConsumableRecord.aspx.cs"
    Inherits="WebUI.LabManage.ConsumableRecord" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" ID="PageManager1" AutoSizePanelID="Panel1" />
    <ext:Panel runat="server" ID="Panel1" BodyPadding="5px" EnableBackgroundColor="true"
        ShowBorder="false" Layout="Anchor" ShowHeader="true" Title="易耗品更新记录">
        <Items>
            <ext:Form runat="server" ID="Form2" LabelWidth="90px" Height="74px" EnableBackgroundColor="true"
                ShowHeader="false" ShowBorder="true" BodyPadding="10px" AutoWidth="true">
                <Toolbars>
                    <ext:Toolbar runat="server">
                        <Items>
                            <ext:Button runat="server" ID="bn_search" Text="查询" Icon="Reload" Type="Submit" OnClick="bnSearch_Click">
                            </ext:Button>
                            <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:Button runat="server" ID="bn_reset" Text="重置" Icon="ArrowIn" Type="Reset" OnClick="bnReset_Click">
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Rows>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="tb_name" Label="易耗品名"></ext:TextBox>
                <ext:DatePicker runat="server" ID="dp_up_date" Label="更新日期" LabelSeparator=" ＞"></ext:DatePicker>
                <ext:DatePicker runat="server" ID="dp_down_date" Label="更新日期" LabelSeparator=" ＜"></ext:DatePicker>
                </Items>
                </ext:FormRow>
                </Rows>
            </ext:Form>
            <ext:Grid runat="server" ID="Grid1" AnchorValue="100% -84px" ShowHeader="false" EnableBackgroundColor="true"
                EnableRowNumber="true" AllowPaging="true" OnPageIndexChange="Grid1_PageIndexChange"
                DataKeyNames="id" PageSize="25">
                <Columns>
                <ext:BoundField DataField="date" DataFormatString="{0:yyyy-MM-dd}" HeaderText="更新日期" Width="160px" />
                <ext:BoundField DataField="name" HeaderText="易耗品名" Width="240px" />
                <ext:BoundField DataField="normal" HeaderText="正常数量" />
                <ext:BoundField DataField="bad" HeaderText="故障数量" />
                <ext:BoundField DataField="stock" HeaderText="库存总数" />
                </Columns>
                </ext:Grid>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
